package com.yvtian.pm.pojo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * (pm_project)表实体类
 *
 * @author long
 * @since 2024-06-25 15:27:32
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "pm_project")
public class PmProjectEntity {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 项目编码
     */
    @TableField(value = "code")
    private String code;
    /**
     * 项目名称
     */
    @TableField(value = "name")
    private String name;
    /**
     * 合同号
     */
    @TableField(value = "contract_code")
    private String contractCode;
    /**
     * 项目金额
     */
    @TableField(value = "amount")
    private BigDecimal amount;
    /**
     * 项目预算
     */
    @TableField(value = "budget")
    private BigDecimal budget;
    /**
     * 客户名称
     */
    @TableField(value = "cu_name")
    private String cuName;
    /**
     * 客户编码
     */
    @TableField(value = "cu_code")
    private String cuCode;
    /**
     * 签订日期
     */
    @TableField(value = "sing_date")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date singDate;
    /**
     * 项目开始日期
     */
    @TableField(value = "start_date")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date startDate;
    /**
     * 项目结束日期
     */
    @TableField(value = "end_date")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endDate;
    /**
     * 未开始、进行中、已完成、暂停、作废
     */
    @TableField(value = "project_status")
    private String projectStatus;
    /**
     * 0:未审核，1已审核
     */
    @TableField(value = "status")
    private Integer status;
    /**
     * 0:未删除，1已删除
     */
    @TableField(value = "is_del")
    private Integer isDel;
    @TableField(value = "del_time")
    private Date delTime;
    @TableField(value = "del_name")
    private String delName;
    @TableField(value = "create_time")
    private Date createTime;
    @TableField(value = "create_name")
    private String createName;
    @TableField(value = "create_user")
    private String createUser;
    @TableField(value = "update_time")
    private Date updateTime;
    @TableField(value = "update_name")
    private String updateName;
    @TableField(value = "update_user")
    private String updateUser;
    /**
     * 备注
     */
    @TableField(value = "remarks")
    private String remarks;
    /**
     * 审核人员
     */
    @TableField(value = "check_name")
    private String checkName;
    /**
     * 审核人员ID
     */
    @TableField(value = "check_user")
    private String checkUser;
    /**
     * 审核时间
     */
    @TableField(value = "check_time")
    private Date checkTime;


}

